

		<div id="main_content">
		    <?php if (isset($confirma)) echo '<h2>***'.$confirma.'***</h2>';?>
		    <h2>Cadastrar novo Funcionario</h2>
		<?php echo form_open('funcionario/cadastro')?>
		<?php echo validation_errors(); ?>
			<label for="login">Nome:</label>
			<input class="login" type="text" name="nome" id="nome" value="<?php echo set_value('nome'); ?>" /><br /><br/>

			<label for="login">CPF:</label>
			<input class="login" type="text" name="cpf" id="cpf" value="<?php echo set_value('cpf'); ?>" /><br /><br/>

			<label for="login">Crachá:</label>
			<input class="login" type="text" name="cracha" id="cracha" value="<?php echo set_value('cracha'); ?>" /><br /><br/>

			<label for="login">Email:</label>
			<input class="login" type="text" name="email" id="email" value="<?php echo set_value('email'); ?>" /><br /><br/>

			<label for="login">Senha:</label>
			<input class="login" type="password" name="senha" id="senha" /><br /><br/>
			
			<label for="senha">Confirme a senha:</label>
			<input class="senha" type="password" name="confirma_senha" id="confirma_senha" />
			<br clear="all" />
		<?php if(isset($erro)) echo $erro;?>
			
            <input type="submit" name="btnEntrar" class="btnEntrar" value="Cadastrar" />

		</form>
		
		</div>
